import { ApiProperty } from '@nestjs/swagger'
import { IsOptional } from 'class-validator'

export class Pagenation {
  @ApiProperty({ description: '分页页数', required: false })
  @IsOptional()
  current: number
  @ApiProperty({ description: '分页条数', required: false })
  @IsOptional()
  size: number
}
